#ifndef VLERASERCONTEXTWIDGET_H
#define VLERASERCONTEXTWIDGET_H

#include "vlcontextwidget.h"

class VLEraserContextWidget : public VLContextWidget
{
    Q_OBJECT
public:
    explicit VLEraserContextWidget(QWidget *parent = 0);
    
signals:
    void shapeChanged(int);
    void sizeChanged(int);
    void heightChanged(int);
    void breadthChanged(int);

public slots:
    void setShape(int);
    void setSize(int);
    void setHeight(int);
    void setBreadth(int);

private:
    enum shapes{CUBE=1, CUBOID=2, SPHERE=3, PYRAMID=4};

    QHBoxLayout * layout;
    QLabel * nameLabel;

    QLabel * shapeLabel;
    QComboBox * shapeBox;
    QStringList * shapesList;

    QLabel * sizeLabel;
    QSpinBox * sizeBox;

    QLabel * heightLabel;
    QSpinBox * heightBox;

    QLabel * breadthLabel;
    QSpinBox * breadthBox;

    void setDefaults();
};

#endif // VLERASERCONTEXTWIDGET_H
